home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK2.toast / Development Kits (Disc 2) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Extensions… / UserAlert ƒ / About UserAlert… next >
Encoding:
Text File  |  1995-04-10  |  1005 b   |  18 lines  |  [ttro/ttxt]

  1. About “UserAlert”…
  2.  
  3. “UserAlert” demonstrates how to take advantage of the built-in QuickDraw GX dialog routines from within your printing extensions and drivers.  This saves you from implementing your own ModalDialog loops within your message overrides.
  4.  
  5. This printing extension installs an item in the desktop printer menu entitled "Show an Alert…"  If you select it, the extension shows an alert.  (Clever, huh?)  If you print a document, it displays the same alert as each page is despooled.  Note that this is not something you would normally want to do.  If the dialog goes unheeded, you will probably cause the device to time out.  Still, this extension is a good example of how to make use of QuickDraw GX's 'plrt' mechanism.
  6.  
  7. This extension shows:
  8.  
  9. • How to write an extension which installs and handles a new item in the desktop printer menu.
  10.  
  11. • How to use 'stat' and 'plrt' resources in you extensions and drivers to display dialogs.
  12.  
  13. Dave Hersey
  14. Apple Developer Technical Support
  15.  
  16. 7/14/94
  17. v1.0
  18.